package com.hd.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * Created by 1 on 2017/12/1.
 */
public class InstrResultInfo {
    private Integer resultId;
    private Integer caseId;
    private Integer reserveInstrId;
    private String resultInfo;
    private Integer userId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime operDate;

    private ReservationInstr reservationInstr;

    public Integer getResultId() {
        return resultId;
    }

    public void setResultId(Integer resultId) {
        this.resultId = resultId;
    }

    public Integer getCaseId() {
        return caseId;
    }

    public void setCaseId(Integer caseId) {
        this.caseId = caseId;
    }

    public Integer getReserveInstrId() {
        return reserveInstrId;
    }

    public void setReserveInstrId(Integer reserveInstrId) {
        this.reserveInstrId = reserveInstrId;
    }

    public String getResultInfo() {
        return resultInfo;
    }

    public void setResultInfo(String resultInfo) {
        this.resultInfo = resultInfo;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public LocalDateTime getOperDate() {
        return operDate;
    }

    public void setOperDate(LocalDateTime operDate) {
        this.operDate = operDate;
    }

    public ReservationInstr getReservationInstr() {
        return reservationInstr;
    }

    public void setReservationInstr(ReservationInstr reservationInstr) {
        this.reservationInstr = reservationInstr;
    }

    @Override
    public String toString() {
        return "InstrResultInfo{" +
                "resultId=" + resultId +
                ", caseId=" + caseId +
                ", reserveInstrId=" + reserveInstrId +
                ", resultInfo='" + resultInfo + '\'' +
                ", userId=" + userId +
                ", operDate=" + operDate +
                ", reservationInstr=" + reservationInstr +
                '}';
    }
}
